#include "ch02.h"
#include "y_or_n_ques.c"

int main()
{
    int answer;
    printf("1: This is a buffer test program.");
    // fflush(stdout);
    fprintf(stderr, "2: --test message\n");
    answer = y_or_n_ques("3: Hello, are you a student?\n");
    if(answer == 1)
    {
        printf("4: Hope you have a hige score!");
    }
    else
    {
        printf("4: Hope you have a hign salary!");
    }
    // fflush(stdout);
    fprintf(stdout, "5: bye!\n");
    return 0;
}